/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DOAN.DAL;
using DOAN.DO;
/// <summary>
/// Summary description for PhanquyenBL
/// </summary>
namespace DOAN.BL 
{
    public class PhanquyenBL 
    {
    	#region Private Variables
		PhanquyenDAL objPhanquyenDAL;
		#endregion
		
        #region Public Constructors
        public PhanquyenBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objPhanquyenDAL=new PhanquyenDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(PhanquyenDO objPhanquyenDO)
        {
            return objPhanquyenDAL.Insert(objPhanquyenDO);
        }

        public int Update(PhanquyenDO objPhanquyenDO)
        {
             return objPhanquyenDAL.Update(objPhanquyenDO);

        }

        public int Delete(PhanquyenDO objPhanquyenDO)
        {
             return objPhanquyenDAL.Delete(objPhanquyenDO);

        }

         public int DeleteAll()
        {
             return objPhanquyenDAL.DeleteAll();
        }

        public PhanquyenDO Select(PhanquyenDO objPhanquyenDO)
        {
            return objPhanquyenDAL.Select(objPhanquyenDO);
        }

        public ArrayList SelectAll1( )
        {
         return objPhanquyenDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objPhanquyenDAL.SelectAll();
        }


     
#endregion          
    
    }

}
